package com.huwaiwai.jvm.demo01;

/**
 * Created by huweiwei on 2017/4/19.
 */
public class A {

    public final static String NAME = "JACK";

    static {
        System.out.println("static....");
    }

    public A() {
        System.out.println("初始化A");
    }
}

class InnerA{

    public void superMethod(){

    }

    public static void main(String [] args){
        System.out.println(A.NAME);
    }
}

class InnerB extends InnerA{

    @Override
    public void superMethod() {
        super.superMethod();
    }
}